from django.shortcuts import render
from view_study.models import Post


# Create your views here.
def inherit(request):
    post_list = Post.objects.all()
    post_name_list = [post.name for post in post_list]
    return render(request, "son_moudle.html", context={"post_name_list": post_name_list})
